cmake_minimum_required(VERSION 3.5)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_CFLAG "${CMAKE_CXX_CFLAG} -Wall -g")
include_directories(
    /usr/local/poco/include
)
link_directories(
    /usr/local/poco/lib
)

aux_source_directory(. SRC)
add_executable(mainapp ${SRC})
target_link_libraries(mainapp   
PocoFoundation
PocoUtil
PocoJSON
pthread
)

install(TARGETS mainapp DESTINATION bin)
# install(DIRECTORY  config DESTINATION config)
